/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package models;

import javax.persistence.*;
import play.db.jpa.Model;

/**
 *
 * @author Dsi
 */
@Entity
public class City extends Model{
    public String name;
    public Boolean status;
    @ManyToOne
    public State state;

    public City() {
    }

    public City(String name, Boolean status, State state) {
        this.name = name;
        this.status = status;
        this.state = state;
    }

    
}
